package com.jzo2o.orders.manager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.orders.base.model.domain.Orders;

/**
 * <p>
 * 下单服务类
 * </p>
 *
 * @author itcast
 * @since 2023-07-10
 */
public interface IOrdersSaveService extends IService<Orders> {

	/**
	 * 下单
	 * 
	 * @return: 
	 * @param: 
	 */
	void saveOrder(Orders orders);

	/**
	 * 下单并添加优惠券
	 * 
	 * @return: 
	 * @param: 
	 */
	void addWithCoupon(Orders orders, Long couponId);
}
